package com.fly.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fly.bean.Circuitry;
import com.fly.bean.Task;

import java.util.Date;

public class PoleVoScw {
    private String circuitryNo;
    private String poleNo;
    private Integer hasDefects;
    private Float completionRate;
    private String defectsName;
    private String defectsLevel;
    private String defectsDescribe;

    @JsonFormat
    private Date checkDate;
    private String findUserName;  //巡检人员姓名
    private String defectUserName; //缺陷发现人姓名

    @JsonFormat
    private Date findDate;
    private String createUserName; //下发人员姓名

    @JsonFormat
    private Date createDate;

    private Task task;

    private Circuitry circuitry;



    public PoleVoScw() {
    }

    public PoleVoScw(String circuitryNo, String poleNo, Integer hasDefects, Float completionRate, String defectsName, String defectsLevel, String defectsDescribe, Date checkDate, String findUserName, String defectUserName, Date findDate, String createUserName, Date createDate) {
        this.circuitryNo = circuitryNo;
        this.poleNo = poleNo;
        this.hasDefects = hasDefects;
        this.completionRate = completionRate;
        this.defectsName = defectsName;
        this.defectsLevel = defectsLevel;
        this.defectsDescribe = defectsDescribe;
        this.checkDate = checkDate;
        this.findUserName = findUserName;
        this.defectUserName = defectUserName;
        this.findDate = findDate;
        this.createUserName = createUserName;
        this.createDate = createDate;
    }

    public String getCircuitryNo() {
        return circuitryNo;
    }

    public void setCircuitryNo(String circuitryNo) {
        this.circuitryNo = circuitryNo;
    }

    public String getPoleNo() {
        return poleNo;
    }

    public void setPoleNo(String poleNo) {
        this.poleNo = poleNo;
    }

    public Integer getHasDefects() {
        return hasDefects;
    }

    public void setHasDefects(Integer hasDefects) {
        this.hasDefects = hasDefects;
    }

    public Float getCompletionRate() {
        return completionRate;
    }

    public void setCompletionRate(Float completionRate) {
        this.completionRate = completionRate;
    }

    public String getDefectsName() {
        return defectsName;
    }

    public void setDefectsName(String defectsName) {
        this.defectsName = defectsName;
    }

    public String getDefectsLevel() {
        return defectsLevel;
    }

    public void setDefectsLevel(String defectsLevel) {
        this.defectsLevel = defectsLevel;
    }

    public String getDefectsDescribe() {
        return defectsDescribe;
    }

    public void setDefectsDescribe(String defectsDescribe) {
        this.defectsDescribe = defectsDescribe;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getFindUserName() {
        return findUserName;
    }

    public void setFindUserName(String findUserName) {
        this.findUserName = findUserName;
    }

    public String getDefectUserName() {
        return defectUserName;
    }

    public void setDefectUserName(String defectUserName) {
        this.defectUserName = defectUserName;
    }

    public Date getFindDate() {
        return findDate;
    }

    public void setFindDate(Date findDate) {
        this.findDate = findDate;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
